package com.cheng.example.atguigu.design_pattern.facade;

/*
 * @author 程帅
 * @createTime: 2020/10/21 22:50
 * @Created: with IntelliJ IDEA.
 */
public class Client {

    public static void main(String[] args) {

        //这里直接调用。。。很麻烦
        HomTheaterFacade homTheaterFacade = new HomTheaterFacade();
        homTheaterFacade.ready();
        System.out.println("=========");
        homTheaterFacade.play();
        System.out.println("=========");
        homTheaterFacade.end();
    }
}
